import React, {Component} from 'react'

import HK6Body from "./betTablemodule/HK6/HK6Body"
import SSCBody from "./betTablemodule/SSC/SSCBody"
import GDKLSF from "./betTablemodule/GDKLSF/GDKLSFBody"
import BJPK10 from "./betTablemodule/BJPK10/BJPK10Body"
import LUCK28 from "./betTablemodule/LUCK28/LUCK28Body"

export default class betCenterRightContent extends Component {
  constructor (props){
   super(props)
   this.state= {
   }
}

renderbody(gameCode){
  // console.log(gameCode);  
  switch(gameCode){
    case "HK6" :
    return <HK6Body {...this.props}></HK6Body>

    case "CQSSC":
    return <SSCBody  {...this.props}/>

    case "XJSSC":
    return <SSCBody  {...this.props}/>

    case "GDKLSF":
    return <GDKLSF {...this.props}/>

    case "BJPK10":
    return <BJPK10 {...this.props} />

    case "MLAFT":
    return <BJPK10 {...this.props} />
    
    case "BJKL8":
    return <LUCK28 {...this.props} />

    case "SC2F":
    return <BJPK10 {...this.props} />

    default :
    return <p>对应的平台暂不支持</p>
  }
}

   render() {
    const {gameCode} = this.props;
    
      return <div>
           {this.renderbody(gameCode)}
      </div>
   
}

}